package com.common.pdf.itextpdf;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * description: Keyword <br>
 * date: 2023/5/17  <br>
 * author: zss <br>
 * version: 1.0.0 <br>
 */
@Data
@Accessors(chain = true)
public class KeywordContent {

    //需要替换的关键词
    private String keyword;

    //替换关键词
    private String replaceKeyword ;

    //是否有下划线
    private boolean underline = true;
//    horizontal direction
    private boolean leftDirection = true;

    public KeywordContent(String keyword, String newKeyword){
        this.keyword = keyword;
        this.replaceKeyword = newKeyword;
    }
    public KeywordContent(String keyword, String newKeyword, boolean underline){
        this.keyword = keyword;
        this.replaceKeyword = newKeyword;
        this.underline = underline;
    }
}
